#ifndef CNPIPE_PIPELINE_H
#define CNPIPE_PIPELINE_H

#include "cnpipe_global.h"
#include "geometry/wsypath.h"

#include <QDebug>
#include <QObject>


/**
 * 专门用于设置管道路径并渲染在界面上的管理器
 * @brief The CNPIPE_pipeline class
 */
class CNPIPE_pipeline : public QObject {
    Q_OBJECT
public:
    CNPIPE_pipeline (CNPIPE_global *par) {
        this->parent = par;
    }
    ~CNPIPE_pipeline() {
    }

    /** 开始显示管道 */
    virtual void showPipeLine();
    virtual QList<WSYPath *> *getPipeline() {
        return lines;
    }
private:
    CNPIPE_global *parent;
    QList<WSYPath *> *lines = new QList<WSYPath *>();
};

#endif // CNPIPE_PIPELINE_H
